<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/views1/DTD/views1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<ui:composition template="/views/layout/main.xhtml">
		<ui:define name="conteudo">
			<h:form id="formPrincipal">
				<div class="grid_18 div_48">
					<p:commandButton id="btn_Salvar" styleClass="save" ajax="false"
						action="#{ofertaDisciplinaBean.salvar}" title="Salvar" />
					<p:commandButton id="btn_Cancelar" styleClass="cancel" ajax="false"
						action="#{ofertaDisciplinaBean.desistirEdit}" title="Cancelar"
						immediate="true" />
				</div>

				<div class="grid_18 titulo">Nova Oferta de Disciplinaa</div>

				<ui:include src="/views/ofertasDisciplinas/_form.xhtml" />
			</h:form>

			<!-- INCLUSAO DE OUTROS XHTMLs -->
			<ui:include src="/views/ofertasDisciplinas/_promptBuscaAluno.xhtml" />
			<ui:include src="/views/ofertasDisciplinas/_promptBuscaDisciplina.xhtml" />
			<ui:include src="/views/ofertasDisciplinas/_promptBuscaProfessor.xhtml" />
		</ui:define>
	</ui:composition>
</f:view>